<?php

/**
 * SigmaCMS - Content Management System
 *
 * Copyright (C) 2008 Pavol Biely
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 * @package    SigmaCMS
 * @author     Pavol Biely <pavolbiely@gmail.com>
 * @copyright  2008 Pavol Biely
 * @license    http://www.gnu.org/licenses/gpl.txt   GNU General Public License
 * @link       http://pabi3.com/
 * @since      0.1.0
 */

if (!defined('INSTALLATION')) die('Access denied!');

echo "<h1>"._SIGMACMS_INSTALL."</h1>\n";
echo "<h2>"._STEP_2."</h2>\n";

echo "<form action='index.php?step=2' method='post'>\n";

echo "<fieldset>\n";
echo "<ol>\n";

echo "<li>\n";
echo "<label for='administration'>"._DIR_ADMINISTRATION."</label>\n";
echo "<input id='administration' name='dir[administration]' value='administration/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='languages'>"._DIR_LANGUAGES."</label>\n";
echo "<input id='languages' name='dir[languages]' value='languages/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='libraries'>"._DIR_LIBRARIES."</label>\n";
echo "<input id='libraries' name='dir[libraries]' value='libraries/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='logs'>"._DIR_LOGS."</label>\n";
echo "<input id='logs' name='dir[logs]' value='logs/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='plugins'>"._DIR_PLUGINS."</label>\n";
echo "<input id='plugins' name='dir[plugins]' value='plugins/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='skins'>"._DIR_SKINS."</label>\n";
echo "<input id='skins' name='dir[skins]' value='skins/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='system'>"._DIR_SYSTEM."</label>\n";
echo "<input id='system' name='dir[system]' value='system/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='temporary'>"._DIR_TEMPORARY."</label>\n";
echo "<input id='temporary' name='dir[temporary]' value='temporary/' type='text' class='text' />\n";
echo "</li>\n";

echo "<li>\n";
echo "<label for='upload'>"._DIR_UPLOAD."</label>\n";
echo "<input id='upload' name='dir[upload]' value='upload/' type='text' class='text' />\n";
echo "</li>\n";

echo "</ol>\n";
echo "</fieldset>\n";

echo "<fieldset class='submit'>\n";
echo "<input onclick='javascript:history.back()' type='button' value='"._PREVIOUS_STEP."' />\n";
echo "<input name='step2' type='submit' value='"._NEXT_STEP."' />\n";
echo "</fieldset>\n";

echo "</form>\n";
